package com.weijian.demo1.entity;

import lombok.Data;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;

@Data
@Schema(description = "团队实体")
public class Team {
    @Schema(description = "团队ID", example = "1")
    private Long id;
    
    @Schema(description = "团队名称", example = "开发团队")
    private String name;
    
    @Schema(description = "团队描述", example = "负责产品开发的团队")
    private String description;
    
    @Schema(description = "团队创建者ID", example = "1")
    private Long ownerId; // 团队创建者
    
    @Schema(description = "创建时间")
    private LocalDateTime createdAt;
    
    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}